﻿Imports System.Data.OleDb
Public Class ThucDonBUS
    Public Function GetThuDon() As DataTable
        Dim TD As New ThucDonDAO
        Return TD.GetThucDon()
    End Function
    Public Sub AddThucDon(ByVal newTD As ThucDonDTO)
        Dim td As New ThucDonDAO
        td.AddThucDon(newTD)
    End Sub

    Public Sub DelThucDon(ByVal delTD As ThucDonDTO)
        Dim td As New ThucDonDAO
        td.DelThucDon(delTD)
    End Sub

    Public Sub UpdateThucDon(ByVal delTD As ThucDonDTO)
        Dim td As New ThucDonDAO
        td.UpdateThucDon(delTD)
    End Sub
    Public Shared Function Get_DSTD()
        Dim nv As New ThucDonDAO
        Dim dt As DataTable
        dt = New DataTable()
        dt = nv.GetThucDon()
        Return dt
    End Function
  
End Class
